package com.example.shiro.demo.dao;

import com.example.shiro.demo.entity.User;

/**
 * <Description> <br>
 *
 * @author renweiping<br>
 * @version 1.0<br>
 * @taskId: <br>
 * @createDate 2019/10/14 13:14 <br>
 * @see com.example.shiro.demo <br>
 */
public interface UserRepository extends BaseRepository<User,Long>{
    User findByName(String name);

    User findByNameAndPassword(String name,Integer passWord);


}
